package com.gis.visualization.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 人物地点表
 * </p>
 *
 * @author hqz
 * @since 2021-02-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="FigureLocation对象", description="人物地点表")
public class FigureLocation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "地点ID")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "人物id")
    private String figureId;

    @ApiModelProperty(value = "发生年份")
    private String year;

    @ApiModelProperty(value = "地点名")
    private String locationTitle;

    @ApiModelProperty(value = "地理坐标x")
    private BigDecimal longitude;

    @ApiModelProperty(value = "地理坐标y")
    private BigDecimal latitude;

    @ApiModelProperty(value = "历史图片")
    private String locationImg;

    @ApiModelProperty(value = "历史发生的顺序,最小的为出生地，最大的为死亡地")
    private Integer sort;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;




}
